package com.study.example.gameserver.event;

import com.study.example.gameserver.module.player.entity.Player;

/**
 * 玩家初始化事件
 */
public abstract class BasePlayerEvent {
    protected Player player;

    public BasePlayerEvent(Player player) {
        this.player = player;
    }

    public void setPlayer(Player player) {
        this.player = player;
    }

    public Player getPlayer() {
        return player;
    }
}
